home *** CD-ROM | disk | FTP | other *** search
/ PC/CD Gamer UK 123 / CD Gamer Issue 123 (June 2003) (Disc 1).ISO / Games / Dev_Demo_EU / data1.cab / App_Executables / System / DTerritories.u / ScriptText23.TextBuffer < prev    next >
Unknown  |  2003-02-28  |  1.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 40 13 63 6c 61 73 73 20 |........|@.class |
|00000010| 44 54 72 61 69 6e 69 6e | 67 4f 62 6a 65 63 74 69 |DTrainin|gObjecti|
|00000020| 76 65 20 65 78 74 65 6e | 64 73 20 44 4f 62 6a 65 |ve exten|ds DObje|
|00000030| 63 74 69 76 65 3b 0d 0a | 0d 0a 65 6e 75 6d 20 45 |ctive;..|..enum E|
|00000040| 4b 65 79 43 6f 6d 6d 61 | 6e 64 0d 0a 7b 0d 0a 09 |KeyComma|nd..{...|
|00000050| 45 4b 43 5f 4a 75 6d 70 | 2c 0d 0a 09 45 4b 43 5f |EKC_Jump|,...EKC_|
|00000060| 43 72 6f 75 63 68 2c 0d | 0a 09 45 4b 43 5f 46 6f |Crouch,.|..EKC_Fo|
|00000070| 72 77 61 72 64 2c 0d 0a | 09 45 4b 43 5f 42 61 63 |rward,..|.EKC_Bac|
|00000080| 6b 2c 0d 0a 09 45 4b 43 | 5f 4c 65 66 74 2c 0d 0a |k,...EKC|_Left,..|
|00000090| 09 45 4b 43 5f 52 69 67 | 68 74 2c 0d 0a 09 45 4b |.EKC_Rig|ht,...EK|
|000000a0| 43 5f 49 6e 74 65 72 61 | 63 74 0d 0a 7d 3b 0d 0a |C_Intera|ct..};..|
|000000b0| 0d 0a 76 61 72 28 29 20 | 62 6f 6f 6c 20 62 46 72 |..var() |bool bFr|
|000000c0| 65 65 7a 65 50 6c 61 79 | 65 72 3b 0d 0a 76 61 72 |eezePlay|er;..var|
|000000d0| 28 29 20 45 4b 65 79 43 | 6f 6d 6d 61 6e 64 20 4b |() EKeyC|ommand K|
|000000e0| 65 79 3b 0d 0a 76 61 72 | 28 29 20 66 6c 6f 61 74 |ey;..var|() float|
|000000f0| 09 52 65 70 65 61 74 44 | 65 6c 61 79 3b 20 0d 0a |.RepeatD|elay; ..|
|00000100| 0d 0a 76 61 72 20 62 6f | 6f 6c 20 62 41 63 74 69 |..var bo|ol bActi|
|00000110| 76 65 3b 0d 0a 0d 0a 76 | 61 72 20 61 72 72 61 79 |ve;....v|ar array|
|00000120| 3c 73 74 72 69 6e 67 3e | 09 43 6d 64 73 3b 0d 0a |<string>|.Cmds;..|
|00000130| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 4f 62 6a 65 63 |..functi|on Objec|
|00000140| 74 69 76 65 45 6e 61 62 | 6c 65 28 29 0d 0a 7b 0d |tiveEnab|le()..{.|
|00000150| 0a 09 69 66 20 28 20 62 | 46 72 65 65 7a 65 50 6c |..if ( b|FreezePl|
|00000160| 61 79 65 72 20 29 0d 0a | 09 09 4c 65 76 65 6c 2e |ayer )..|..Level.|
|00000170| 47 61 6d 65 2e 46 69 6e | 64 48 75 6d 61 6e 50 6c |Game.Fin|dHumanPl|
|00000180| 61 79 65 72 28 29 2e 47 | 6f 74 6f 53 74 61 74 65 |ayer().G|otoState|
|00000190| 28 20 27 50 6c 61 79 65 | 72 46 72 6f 7a 65 6e 27 |( 'Playe|rFrozen'|
|000001a0| 20 29 3b 0d 0a 09 09 0d | 0a 09 53 75 70 65 72 2e | );.....|..Super.|
|000001b0| 4f 62 6a 65 63 74 69 76 | 65 45 6e 61 62 6c 65 28 |Objectiv|eEnable(|
|000001c0| 29 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |);..}...|.functio|
|000001d0| 6e 20 43 6f 6d 70 6c 65 | 74 65 4f 62 6a 65 63 74 |n Comple|teObject|
|000001e0| 69 76 65 28 20 50 61 77 | 6e 20 50 61 77 6e 43 6f |ive( Paw|n PawnCo|
|000001f0| 6d 70 6c 65 74 6f 72 20 | 29 0d 0a 7b 0d 0a 09 69 |mpletor |)..{...i|
|00000200| 66 20 28 20 62 46 72 65 | 65 7a 65 50 6c 61 79 65 |f ( bFre|ezePlaye|
|00000210| 72 20 29 0d 0a 09 09 50 | 61 77 6e 43 6f 6d 70 6c |r )....P|awnCompl|
|00000220| 65 74 6f 72 2e 47 6f 74 | 6f 53 74 61 74 65 28 20 |etor.Got|oState( |
|00000230| 27 50 6c 61 79 65 72 57 | 61 6c 6b 69 6e 67 27 20 |'PlayerW|alking' |
|00000240| 29 3b 0d 0a 09 09 0d 0a | 09 53 75 70 65 72 2e 43 |);......|.Super.C|
|00000250| 6f 6d 70 6c 65 74 65 4f | 62 6a 65 63 74 69 76 65 |ompleteO|bjective|
|00000260| 28 20 50 61 77 6e 43 6f | 6d 70 6c 65 74 6f 72 20 |( PawnCo|mpletor |
|00000270| 29 3b 0d 0a 7d 0d 0a 09 | 0d 0a 66 75 6e 63 74 69 |);..}...|..functi|
|00000280| 6f 6e 20 73 74 72 69 6e | 67 20 47 65 74 4f 62 6a |on strin|g GetObj|
|00000290| 65 63 74 69 76 65 54 65 | 78 74 28 6f 70 74 69 6f |ectiveTe|xt(optio|
|000002a0| 6e 61 6c 20 50 6c 61 79 | 65 72 50 61 77 6e 20 50 |nal Play|erPawn P|
|000002b0| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 73 74 72 |)..{...l|ocal str|
|000002c0| 69 6e 67 20 54 69 70 53 | 74 72 69 6e 67 2c 20 4b |ing TipS|tring, K|
|000002d0| 65 79 53 74 72 69 6e 67 | 3b 0d 0a 09 6c 6f 63 61 |eyString|;...loca|
|000002e0| 6c 20 69 6e 74 20 50 6f | 73 3b 0d 0a 09 0d 0a 09 |l int Po|s;......|
|000002f0| 69 66 20 28 20 21 50 20 | 29 0d 0a 09 09 50 20 3d |if ( !P |)....P =|
|00000300| 20 4c 65 76 65 6c 2e 47 | 61 6d 65 2e 46 69 6e 64 | Level.G|ame.Find|
|00000310| 48 75 6d 61 6e 50 6c 61 | 79 65 72 28 29 3b 0d 0a |HumanPla|yer();..|
|00000320| 09 0d 0a 09 50 6f 73 20 | 3d 20 49 6e 53 74 72 28 |....Pos |= InStr(|
|00000330| 20 54 69 74 6c 65 2c 20 | 22 23 6b 22 20 29 3b 0d | Title, |"#k" );.|
|00000340| 0a 09 69 66 20 28 20 50 | 6f 73 20 3e 3d 20 30 20 |..if ( P|os >= 0 |
|00000350| 29 0d 0a 09 7b 0d 0a 09 | 09 4b 65 79 53 74 72 69 |)...{...|.KeyStri|
|00000360| 6e 67 20 3d 20 47 65 74 | 4b 65 79 43 6f 6d 6d 61 |ng = Get|KeyComma|
|00000370| 6e 64 28 20 4b 65 79 2c | 20 50 20 29 3b 0d 0a 09 |nd( Key,| P );...|
|00000380| 09 54 69 70 53 74 72 69 | 6e 67 20 3d 20 4c 65 66 |.TipStri|ng = Lef|
|00000390| 74 28 20 54 69 74 6c 65 | 2c 20 50 6f 73 2d 31 20 |t( Title|, Pos-1 |
|000003a0| 29 20 40 20 4b 65 79 53 | 74 72 69 6e 67 20 40 20 |) @ KeyS|tring @ |
|000003b0| 4d 69 64 28 20 54 69 74 | 6c 65 2c 20 50 6f 73 2b |Mid( Tit|le, Pos+|
|000003c0| 33 20 29 3b 0d 0a 09 7d | 0d 0a 09 65 6c 73 65 0d |3 );...}|...else.|
|000003d0| 0a 09 09 54 69 70 53 74 | 72 69 6e 67 20 3d 20 54 |...TipSt|ring = T|
|000003e0| 69 74 6c 65 3b 0d 0a 09 | 09 0d 0a 09 72 65 74 75 |itle;...|....retu|
|000003f0| 72 6e 20 54 69 70 53 74 | 72 69 6e 67 3b 0d 0a 7d |rn TipSt|ring;..}|
|00000400| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 73 74 72 |....func|tion str|
|00000410| 69 6e 67 20 47 65 74 4b | 65 79 43 6f 6d 6d 61 6e |ing GetK|eyComman|
|00000420| 64 28 20 45 4b 65 79 43 | 6f 6d 6d 61 6e 64 20 4b |d( EKeyC|ommand K|
|00000430| 65 79 43 6d 64 2c 20 50 | 6c 61 79 65 72 50 61 77 |eyCmd, P|layerPaw|
|00000440| 6e 20 50 20 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |n P )..{|...local|
|00000450| 20 73 74 72 69 6e 67 20 | 42 6f 75 6e 64 4b 65 79 | string |BoundKey|
|00000460| 3b 0d 0a 09 0d 0a 09 42 | 6f 75 6e 64 4b 65 79 20 |;......B|oundKey |
|00000470| 3d 20 50 2e 50 6c 61 79 | 65 72 2e 43 6f 6e 73 6f |= P.Play|er.Conso|
|00000480| 6c 65 2e 46 69 6e 64 43 | 6f 6d 6d 61 6e 64 4b 65 |le.FindC|ommandKe|
|00000490| 79 28 20 43 6d 64 73 5b | 4b 65 79 43 6d 64 5d 20 |y( Cmds[|KeyCmd] |
|000004a0| 29 3b 0d 0a 09 0d 0a 09 | 72 65 74 75 72 6e 20 28 |);......|return (|
|000004b0| 22 28 22 24 42 6f 75 6e | 64 4b 65 79 24 22 29 22 |"("$Boun|dKey$")"|
|000004c0| 29 3b 0d 0a 7d 0d 0a 0d | 0a 00 |);..}...|.. |
+--------+-------------------------+-------------------------+--------+--------+